﻿<%@ Page Language="C#" MasterPageFile="~/main.Master" AutoEventWireup="true" ValidateRequest="false" CodeBehind="Search.aspx.cs" Inherits="CaseStudy.Web.Search" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="SearchContent">
        <div class="GeneralSearch">
            <div class="InfoItem">
                <div class="ItemText">行业过滤：</div>
                <div class="ItemInput">
                    <asp:DropDownList ID="ddIndustry" runat="server" Width="200px" Height="22px" ForeColor="#808080" ></asp:DropDownList>
                </div>
            </div>
            <div class="InfoItem">
                <div class="ItemText">客户过滤：</div>
                <div class="ItemInput">
                    <asp:DropDownList ID="ddClient" runat="server" Width="200px" Height="22px" ForeColor="#808080" ></asp:DropDownList>
                </div>
            </div>
            <div class="InfoItem">
                <div class="ItemText">服务过滤：</div>
                <div class="ItemInput">
                    <asp:DropDownList ID="ddService" runat="server" Width="200px" Height="22px" ForeColor="#808080" ></asp:DropDownList>
                </div>
            </div>
            <div class="InfoItem">
                <div class="ItemText">关键字：</div>
                <div class="ItemInput">
                    <asp:TextBox ID="txtSearchKey" runat="server" Width="194px" Height="16" ></asp:TextBox>
                    <asp:Label ID="lblKey" runat="server" Visible="false">11</asp:Label>
                </div>
                <div class="SearchButton">
                    <asp:ImageButton ID="imgBtnSearch" runat="server" CausesValidation="false" ImageUrl="images/Button_Search.png"
                        OnClick="imgBtnSearch_Click" />
                </div>
            </div>

        </div>
        <div class="SearchResult">
            <div class="ResultRemind">
                <div class="LeftRemind">
                    <asp:Label ID="lblLeftRemind" runat="server"></asp:Label>
                </div>
                <div class="RightRemind">
                    <asp:Label ID="lblRightRemind" runat="server"></asp:Label>
                </div>
            </div>
            <div class="ResultContent">
                <asp:Repeater ID="rptResults" runat="server" >
                    <ItemTemplate>
                        <div class="ResultItem">
                            <div class="ResultImage">
                                <a href="<%# DataBinder.Eval(Container.DataItem, "Url")%>">
                                    <img class="ResultImageLink" src="<%# DataBinder.Eval(Container.DataItem, "ImageUrl")%>" />
                                </a>
                            </div>
                            <div class="ResultInfo">
                                <div class="ResultTitle">
                                    <a href="<%# DataBinder.Eval(Container.DataItem, "Url")%>">
                                        <%# DataBinder.Eval(Container.DataItem, "Title")%>
                                    </a>
                                </div>
                                <div class="ResultDescription">
                                    <%# DataBinder.Eval(Container.DataItem, "Description")%>
                                </div>
                            </div>
                        </div>
                    </ItemTemplate>
                </asp:Repeater>
            </div>
        </div>
        <div id="resultFoot" class="ResultFoot" runat="server" visible="false">
            <div class="ResultPagePre">
                <asp:LinkButton ID="btnPre" class="btnPageControl" runat="server" onclick="btnPre_Click" Text="<<"></asp:LinkButton>
            </div>
            <div class="CurrentPage">
                <asp:Label ID="lblCurrentPage" runat="server" Text="1"></asp:Label>
            </div>
            <div class="ResultPageNext">
                <asp:LinkButton ID="btnNext" class="btnPageControl" runat="server" onclick="btnNext_Click" Text=">>"></asp:LinkButton>
            </div>
        </div>
    </div>
</asp:Content>